package org.xdoclet.plugin.hibernate;

import java.io.File;
import java.net.URL;

import org.generama.MetadataProvider;
import org.xdoclet.QDoxMetadataProvider;

/** 
 * @author Tomasz Blachowicz
 */
public class InheritanceJoinedSubclassTestCase extends AbstractHibernateMappingTestCase {

	protected MetadataProvider createMetadataProvider() throws Exception {
        URL reader = getResourceRelativeToThisPackage("inheritance/joined");
        return new QDoxMetadataProvider(new File(reader.getPath()));
	}

	protected URL getExpected() throws Exception {
		return getResourceRelativeToThisPackage("inheritance/joined/mapping.hbm.xml");
	}
	
	protected String getApplicableVersion() {
		return HibernateVersion.HIBERNATE_3_0;
	}

}
